FROM	openjdk:21-jdk-bullseye

RUN     mkdir /app
WORKDIR /app
COPY    ./ /app
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
CMD       java $JAVA_OPTS -jar /app/app-0.0.1-SNAPSHOT.jar